#include <stdio.h>

int main(){
	int i,c1=0;
	double c2=0,c=0.01;
	for (i=1;i<=30;i++){
		c1 += 100000;
		c2 += c;
		c *= 2;
	}
	printf("%f\n%d", c2,c1);
	return 0;
}
